<template>
  <render />
</template>

<script lang="ts" setup>
const router = useRouter()
const route = useRoute()
onBeforeMount(() => {
  const { params, query } = route
  const { path } = params
  router.replace({ path: '/' + path, query })
})
const render = () => h('div')
</script>
